package com.kyrioscraft.cloud.security.core.validate.code;

import org.springframework.web.context.request.ServletWebRequest;

/**
 * @Author kyrioscraft
 * @Date 2019/1/8 15:31
 * @Description //TODO
 **/
public interface ValidateCodeRepository {
    void save(ServletWebRequest request, ValidateCode code, ValidateCodeType validateCodeType);
    ValidateCode get(ServletWebRequest request, ValidateCodeType validateCodeType);
    void remove(ServletWebRequest request, ValidateCodeType validateCodeType);
}
